home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
Text⁄Files
/
Writeswell Jr. 1.0.2 Master
/
Writeswell Jr. Source
/
headers
/
TBGlobals.h
< prev
next >
Wrap
Text File
|
1992-11-12
|
1KB
|
40 lines
/* TBGlobals.h */
#ifdef GLOBALS_HERE
#define ext
#else
#define ext extern
#endif
ext short gRefNum; /* RefNum of the doc being spellchecked */
ext short gResRefNum; /* RefNum of the doc being spellchecked */
ext Boolean gDocDirty; /* True if document has been changed at all */
ext Boolean gDocExists; /* True if the document comes from disk */
ext Boolean gQuitRequested; /* True if we have received a Quit event */
ext Boolean gPrintRequested; /* True if we have received a Print event */
#ifdef NEVER
ext AEAddressDesc gSpellerAddr; /* Address of IAC speller process */
#endif
ext long gTransactionID;
/* I have some notion of making this a multiwindow editor someday. For now, I allow
* one window, which is kept in gDocWindow. gScrollWindow is the window that scroll
* operations are being performed on. For now, this will always be the same as
* gDocWindow, but may be set to the current window instead, if we use multiple windows.
*/
ext WindowPtr gDocWindow;
ext WindowPtr gScrollWindow;
ext ControlHandle gVertScroll;
ext short gLinesPerPage;
ext short gPrefFileRefNum;
ext short gAppFileRefNum;
ext short gServItemID[ kMaxServices ];